//类的继承方式对子类对外访问属性影响

#include "B.h"

//using namespace std;

int main()
{
	
	B bb;
	bb.c = 100; //ok
	bb.set(10, 20, 30); //ok
	bb.print();

	return 0;
}
